package com.xiaopeng.common.secure;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 脱敏类型枚举
 */
@Getter
@AllArgsConstructor
public enum DesensitizationTypeEnum {

    CHINESE_NAME(1, "中文名"),
    ID_CARD(2, "身份证号"),
    FIXED_PHONE(3, "座机号"),
    MOBILE_PHONE(4, "手机号"),
    ADDRESS(5, "地址"),
    EMAIL(6, "电子邮件"),
    PASSWORD(7, "密码"),
    BANK_CARD(8, "银行卡"),
    CAR_LICENSE(9, "中国大陆车牌"),
    IPV4(10, "IPv4地址"),
    IPV6(11, "IPv6地址"),
    ;

    private Integer code;
    private String name;
}
